package com.example.haoqisystem.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CreateWorkerRequest {
    @ApiModelProperty(value = "用户名")
    private String account;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "角色id(0:经理 1:执行人 2:现场工作人员 3:软件公司员工)")
    private Integer roleId;

    @ApiModelProperty(value = "角色职位（经理，执行人，现场工作人员，软件公司员工）")
    private String role;
}
